package com.wunong.smart.collection.client.query;

import com.wunong.smart.domain.platform.common.BizSource;
import com.wunong.smart.domain.platform.entify.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author create by zealot.zt
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CollectionQueryDTO implements Serializable {

    /**
     * 收藏编号
     */
    private Long id;

    /**
     * 用户信息
     */
    private User user;

    /**
     * 业务信息
     */
    private BizSource source;

    /**
     * 收藏类型
     */
    private String collectType;

    /**
     * 收藏状态
     *
     * @see com.wunong.smart.collection.client.enums.CollectionStatusEnum
     */
    private Integer[] statuses;

    public static CollectionQueryDTO of() {
        return new CollectionQueryDTO();
    }

}
